# Injected by testcontainers

redpanda:
  admin:
    address: 0.0.0.0
    port: 9644

  kafka_api:
    - address: 0.0.0.0
      name: external
      port: 9092
      authentication_method: none

    # This listener is required for the schema registry client. The schema
    # registry client connects via an advertised listener like a normal Kafka
    # client would do. It can't use the other listener because the mapped
    # port is not accessible from within the Redpanda container.
    - address: 0.0.0.0
      name: internal
      port: 9093
      authentication_method: none

  advertised_kafka_api:
    - address: {{ kafkaApi.advertisedHost }}
      name: external
      port: {{ kafkaApi.advertisedPort }}
    - address: 127.0.0.1
      name: internal
      port: 9093

schema_registry:
  schema_registry_api:
  - address: "0.0.0.0"
    name: main
    port: 8081
    authentication_method: none

schema_registry_client:
  brokers:
    - address: localhost
      port: 9093

pandaproxy:
  pandaproxy_api:
    - address: 0.0.0.0
      port: 8082
      name: proxy-internal
  advertised_pandaproxy_api:
    - address: 127.0.0.1
      port: 8082
      name: proxy-internal

pandaproxy_client:
  brokers:
    - address: localhost
      port: 9093

rpk:
  kafka_api:
    brokers:
    - localhost:9093
